Skip to content

Update version to 2.2.14 across project files#513

Merged
MervinPraison merged 1 commit intomainfrom
develop
May 25, 2025
Merged

Update version to 2.2.14 across project files#513
MervinPraison merged 1 commit intomainfrom
develop

Conversation

@MervinPraison
Copy link
Copy Markdown
Owner

@MervinPraison MervinPraison commented May 25, 2025

  • Incremented PraisonAI version from 2.2.13 to 2.2.14 in pyproject.toml, uv.lock, and all relevant Dockerfiles for consistency.
  • Ensured minimal changes to existing code while maintaining versioning accuracy across the project.

Summary by CodeRabbit

  • Chores

    • Updated the PraisonAI package version to 2.2.14 across all Docker environments and documentation.
    • Incremented the project version to 2.2.14 in configuration files.
  • Bug Fixes

    • Removed a redundant configuration key related to API keys for improved clarity.
  • Tests

    • Enhanced integration tests with environment-based API key validation and improved test categorization and documentation.

- Incremented PraisonAI version from 2.2.13 to 2.2.14 in `pyproject.toml`, `uv.lock`, and all relevant Dockerfiles for consistency.
- Ensured minimal changes to existing code while maintaining versioning accuracy across the project.
@MervinPraison MervinPraison merged commit d96f43a into main May 25, 2025
7 of 10 checks passed
@coderabbitai
Copy link
Copy Markdown
Contributor

coderabbitai bot commented May 25, 2025

Caution

Review failed

The pull request is closed.

Walkthrough

This update increments the praisonai package version from 2.2.13 to 2.2.14 across multiple Dockerfiles, deployment scripts, documentation, and project configuration. It also removes a redundant configuration key in the CLI and enhances test cases with API key validation and improved skipping logic.

Changes

Files/Paths Change Summary
docker/Dockerfile, docker/Dockerfile.chat, docker/Dockerfile.dev, docker/Dockerfile.ui Updated praisonai package version from 2.2.13 to 2.2.14 in pip install commands
docs/api/praisonai/deploy.html, docs/developers/local-development.mdx, docs/ui/chat.mdx, docs/ui/code.mdx Updated documentation and code examples to reference praisonai version 2.2.14
praisonai/deploy.py Updated Dockerfile generation to use praisonai version 2.2.14
pyproject.toml Bumped project version from 2.2.13 to 2.2.14 in [project] and [tool.poetry] sections
praisonai/cli.py Removed redundant 'openai_api_key' from the configuration dictionary
tests/test_agents_playbook.py Enhanced tests with API key validation, conditional skipping, new assertion, and docstrings

Sequence Diagram(s)

sequenceDiagram
    participant Developer
    participant Dockerfile
    participant Pip
    participant PraisonAI

    Developer->>Dockerfile: Build image
    Dockerfile->>Pip: Install praisonai==2.2.14
    Pip->>PraisonAI: Provide version 2.2.14
    PraisonAI-->>Dockerfile: Ready for use
Loading

Possibly related PRs

Suggested labels

Review effort 1/5

Poem

A hop, a skip, a version hop,
PraisonAI gets a shiny top!
Dockerfiles now point anew,
To 2.2.14—fresh as dew.
Tests are smarter, configs neat,
This bunny’s work is quite complete!
🐇✨


📜 Recent review details

Configuration used: CodeRabbit UI
Review profile: CHILL
Plan: Pro

📥 Commits

Reviewing files that changed from the base of the PR and between bbbf7de and a4139a2.

⛔ Files ignored due to path filters (1)
  • uv.lock is excluded by !**/*.lock
📒 Files selected for processing (12)
  • docker/Dockerfile (1 hunks)
  • docker/Dockerfile.chat (1 hunks)
  • docker/Dockerfile.dev (1 hunks)
  • docker/Dockerfile.ui (1 hunks)
  • docs/api/praisonai/deploy.html (1 hunks)
  • docs/developers/local-development.mdx (1 hunks)
  • docs/ui/chat.mdx (1 hunks)
  • docs/ui/code.mdx (1 hunks)
  • praisonai/cli.py (0 hunks)
  • praisonai/deploy.py (1 hunks)
  • pyproject.toml (2 hunks)
  • tests/test_agents_playbook.py (3 hunks)
✨ Finishing Touches
  • 📝 Generate Docstrings

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share
🪧 Tips

Chat

There are 3 ways to chat with CodeRabbit:

  • Review comments: Directly reply to a review comment made by CodeRabbit. Example:
    • I pushed a fix in commit <commit_id>, please review it.
    • Explain this complex logic.
    • Open a follow-up GitHub issue for this discussion.
  • Files and specific lines of code (under the "Files changed" tab): Tag @coderabbitai in a new review comment at the desired location with your query. Examples:
    • @coderabbitai explain this code block.
    • @coderabbitai modularize this function.
  • PR comments: Tag @coderabbitai in a new PR comment to ask questions about the PR branch. For the best results, please provide a very specific query, as very limited context is provided in this mode. Examples:
    • @coderabbitai gather interesting stats about this repository and render them as a table. Additionally, render a pie chart showing the language distribution in the codebase.
    • @coderabbitai read src/utils.ts and explain its main purpose.
    • @coderabbitai read the files in the src/scheduler package and generate a class diagram using mermaid and a README in the markdown format.
    • @coderabbitai help me debug CodeRabbit configuration file.

Support

Need help? Create a ticket on our support page for assistance with any issues or questions.

Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments.

CodeRabbit Commands (Invoked using PR comments)

  • @coderabbitai pause to pause the reviews on a PR.
  • @coderabbitai resume to resume the paused reviews.
  • @coderabbitai review to trigger an incremental review. This is useful when automatic reviews are disabled for the repository.
  • @coderabbitai full review to do a full review from scratch and review all the files again.
  • @coderabbitai summary to regenerate the summary of the PR.
  • @coderabbitai generate docstrings to generate docstrings for this PR.
  • @coderabbitai generate sequence diagram to generate a sequence diagram of the changes in this PR.
  • @coderabbitai resolve resolve all the CodeRabbit review comments.
  • @coderabbitai configuration to show the current CodeRabbit configuration for the repository.
  • @coderabbitai help to get help.

Other keywords and placeholders

  • Add @coderabbitai ignore anywhere in the PR description to prevent this PR from being reviewed.
  • Add @coderabbitai summary to generate the high-level summary at a specific location in the PR description.
  • Add @coderabbitai anywhere in the PR title to generate the title automatically.

CodeRabbit Configuration File (.coderabbit.yaml)

  • You can programmatically configure CodeRabbit by adding a .coderabbit.yaml file to the root of your repository.
  • Please see the configuration documentation for more information.
  • If your editor has YAML language server enabled, you can add the path at the top of this file to enable auto-completion and validation: # yaml-language-server: $schema=https://coderabbit.ai/integrations/schema.v2.json

Documentation and Community

  • Visit our Documentation for detailed information on how to use CodeRabbit.
  • Join our Discord Community to get help, request features, and share feedback.
  • Follow us on X/Twitter for updates and announcements.

@netlify
Copy link
Copy Markdown

netlify bot commented May 25, 2025

Deploy Preview for praisonai ready!

Name Link
🔨 Latest commit a4139a2
🔍 Latest deploy log https://app.netlify.com/projects/praisonai/deploys/6832af0cd5a50200080d3f44
😎 Deploy Preview https://deploy-preview-513--praisonai.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

Copy link
Copy Markdown
Contributor

@gemini-code-assist gemini-code-assist bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hello @MervinPraison, I'm Gemini Code Assist1! I'm currently reviewing this pull request and will post my feedback shortly. In the meantime, here's a summary to help you and other reviewers quickly get up to speed!

Summary of Changes

Hello! Gemini here, providing a summary of this pull request to help everyone quickly understand the changes.

This PR, authored by MervinPraison, is primarily focused on updating the project's version number. As stated in the description, the PraisonAI version is being incremented from 2.2.13 to 2.2.14 across various configuration and build files to ensure consistency throughout the project. The changes are minimal, mainly involving find-and-replace operations for the version string, with a couple of minor related adjustments in test and CLI files.

Highlights

  • Version Bump: The core change is updating the PraisonAI project version from 2.2.13 to 2.2.14 in key files like pyproject.toml, uv.lock, and multiple Dockerfiles.
  • Dockerfile Updates: All relevant Dockerfiles (docker/Dockerfile, docker/Dockerfile.chat, docker/Dockerfile.dev, docker/Dockerfile.ui) and embedded Dockerfile examples in documentation (docs/api/praisonai/deploy.html, docs/developers/local-development.mdx, docs/ui/chat.mdx, docs/ui/code.mdx, praisonai/deploy.py) have been updated to install praisonai==2.2.14.
  • Dependency Lock File Update: The uv.lock file, which locks dependencies, has been updated to reflect the new 2.2.14 version for the praisonai package.
  • Minor Code Adjustments: A redundant openai_api_key entry was removed from the configuration logic in praisonai/cli.py, and test cases in tests/test_agents_playbook.py were updated with pytest.mark.real markers, API key checks for skipping, and a minor change in an assertion string.

Changelog

Click here to see the changelog
  • docker/Dockerfile
    • Updated the pip install command to specify praisonai==2.2.14.
  • docker/Dockerfile.chat
    • Updated the pip install command to specify praisonai==2.2.14.
  • docker/Dockerfile.dev
    • Updated the pip install command to specify praisonai==2.2.14.
  • docker/Dockerfile.ui
    • Updated the pip install command to specify praisonai==2.2.14.
  • docs/api/praisonai/deploy.html
    • Updated the embedded Dockerfile example within the documentation to specify praisonai==2.2.14.
  • docs/developers/local-development.mdx
    • Updated the embedded Dockerfile example within the documentation to specify praisonai==2.2.14.
  • docs/ui/chat.mdx
    • Updated the embedded Dockerfile example within the documentation to specify praisonai==2.2.14.
  • docs/ui/code.mdx
    • Updated the embedded Dockerfile example within the documentation to specify praisonai==2.2.14.
  • praisonai/cli.py
    • Removed the redundant 'openai_api_key': api_key entry from the agent configuration dictionary.
  • praisonai/deploy.py
    • Updated the generated Dockerfile content within the create_dockerfile method to specify praisonai==2.2.14.
  • pyproject.toml
    • Updated the version field from 2.2.13 to 2.2.14 in the [project] section.
    • Updated the version field from 2.2.13 to 2.2.14 in the [tool.poetry] section.
  • tests/test_agents_playbook.py
    • Added pytest and os imports.
    • Added @pytest.mark.real decorator to test_main_with_autogen_framework, test_main_with_custom_framework, test_main_with_internet_search_tool, and test_main_with_built_in_tool.
    • Added logic to skip tests if a valid OPENAI_API_KEY is not found, specifically checking for 'test-key' or 'sk-test-' prefixes.
    • Changed the assertion string from '### Task Output ###' to '### Output ###' in test_main_with_autogen_framework.
  • uv.lock
    • Updated the version for the praisonai package from 2.2.13 to 2.2.14.
Using Gemini Code Assist

The full guide for Gemini Code Assist can be found on our documentation page, here are some quick tips.

Invoking Gemini

You can request assistance from Gemini at any point in your pull request via creating an issue comment (i.e. comment on the pull request page) using either /gemini <command> or @gemini-code-assist <command>. Below is a summary of the supported commands.

Feature Command Description
Code Review /gemini review Performs a code review for the current pull request in its current state.
Pull Request Summary /gemini summary Provides a summary of the current pull request in its current state.
Comment @gemini-code-assist Responds in comments when explicitly tagged, both in issue comments and review comments.
Help /gemini help Displays a list of available commands.

Customization

To customize Gemini Code Assist for GitHub experience, repository maintainers can create a configuration file and/or provide a custom code review style guide (such as PEP-8 for Python) by creating and adding files to a .gemini/ folder in the base of the repository. Detailed instructions can be found here.

Limitations & Feedback

Gemini Code Assist is currently in preview and may make mistakes. Please leave feedback on any instances where its feedback is incorrect or counter productive. You can react with 👍 and 👎 on @gemini-code-assist comments to provide feedback.

You can also get AI-powered code generation, chat, as well as code reviews directly in the IDE at no cost with the Gemini Code Assist IDE Extension.


A version number climbs,
Through code and Docker rhymes,
From thirteen to fourteen,
A consistent scene,
Across files, in these times.

Footnotes

  1. Review the Privacy Notices, Generative AI Prohibited Use Policy, Terms of Service, and learn how to configure Gemini Code Assist in GitHub here. Gemini can make mistakes, so double check it and use code with caution.

Copy link
Copy Markdown
Contributor

@gemini-code-assist gemini-code-assist bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Review

This pull request primarily focuses on updating the PraisonAI version to 2.2.14 across various project files, which has been done consistently. The enhancements to the test suite in tests/test_agents_playbook.py with pytest.mark.real and API key checks are good improvements for testability and CI stability.

However, there are a couple of changes outside the direct version bump that require clarification to ensure they don't introduce regressions or unexpected behavior, particularly concerning AutoGen compatibility and test assertions.

Summary of Findings

  • Potential AutoGen Compatibility Issue: Removal of 'openai_api_key' from config_list in praisonai/cli.py might affect AutoGen compatibility, as a comment indicated AutoGen sometimes expects this field. This needs verification to prevent potential regressions for users.
  • Unexplained Test Assertion Change: The expected output string in an AutoGen framework test (test_main_with_autogen_framework in tests/test_agents_playbook.py) has changed. The reason for this change needs clarification to ensure test validity and to understand if there's an underlying behavioral change in the library's output for AutoGen.

Merge Readiness

The pull request makes good progress on version consistency. However, before merging, it's important to address the concerns raised about the removal of the openai_api_key field in praisonai/cli.py and the corresponding change in the test assertion for the AutoGen framework. These changes could potentially impact existing users or mask unintended behavior if not thoroughly verified and explained.

I am unable to approve this pull request myself. Please ensure these points are clarified and potentially further reviewed by others familiar with AutoGen integration before merging.

'model': os.environ.get("OPENAI_MODEL_NAME", "gpt-4o"),
'base_url': os.environ.get("OPENAI_API_BASE", "https://api.openai.com/v1"),
'api_key': api_key,
'openai_api_key': api_key, # AutoGen sometimes expects this field name
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

high

The line 'openai_api_key': api_key, # AutoGen sometimes expects this field name was removed. The comment suggests this key might be important for AutoGen compatibility.

Could you clarify the reason for this removal?

  • Has it been confirmed that AutoGen (across various versions or configurations it might be used with PraisonAI) no longer requires or benefits from this specific openai_api_key field, and that the existing api_key field is now universally sufficient?
  • Was this change tested to ensure no regressions for users integrating with AutoGen, especially those who might have relied on this specific key name?

Given the PR's focus on versioning, this change seems out of scope unless it's a necessary cleanup tied to version 2.2.14. Ensuring backward compatibility or clearly documenting such breaking changes is important.

try:
result = praisonai.run()
self.assertIn('### Task Output ###', result)
self.assertIn('### Output ###', result)
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

medium

The assertion in test_main_with_autogen_framework has changed from looking for ### Task Output ### to ### Output ###.

What prompted this change in the expected output string for the AutoGen framework test?

  • Is this due to a deliberate change in the output format of praisonai.run() in version 2.2.14?
  • Or is it possibly related to the removal of the openai_api_key in praisonai/cli.py affecting AutoGen's output?

Understanding the reason for this change is important to ensure the test is still correctly verifying the intended behavior and not masking an unintended side-effect.

shaneholloman pushed a commit to shaneholloman/praisonai that referenced this pull request Feb 4, 2026
Update version to 2.2.14 across project files
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant